package Temp;

import symboltable.Symbol;

public class Label {

    private static int c;
    private String name;

    public Label(String n) {
        name = n;
    }

    public Label() {
        this("L" + c++);
    }

    public Label(Symbol s) {
        this(s.toString());
    }

    public String toString() {
        return name;
    }
}
